package com.csun.cmny.provider.model.constant;

import org.junit.Test;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-03-06 11:52
 * @Description:
 */
public class CsunSleepConstant {

    /**
     * 离线报警功能码
     */
    public static final String OFF_LINE = "off_line";

    /**
     * 离床报警功能码
     */
    public static final String OFF_BED = "off_bed";

    /**
     * 翻身报警功能码
     */
    public static final String ACTION_OVER = "action_over";

    /**
     * 呼吸报警码
     */
    public static final String BREATH_ALERT = "breath_alert";

    /**
     * 心跳报警码
     */
    public static final String HEARTBEAT_ALERT = "heartbeat_bed";

    /**
     * 离房报警码
     */
    public static final String LEAVE_ROOM = "leave_room";

    /**
     * 床垫功能禁用
     */
    public static final int SLEEP_FUNC_DISABLE = 0;

    /**
     * 床垫功能启动
     */
    public static final int SLEEP_FUNC_ENABLE = 1;

    /**
     * 床垫翻身报警前缀
     */
    public static final String ACTION_PREFIX = "cmny:device:csun:sleep:action:";

    /**
     * 翻身报警前缀序号
     */
    public static final int ACTION_PREFIX_INDEX = ACTION_PREFIX.length();

    /**
     * 翻身报警时间 单位:分钟
     */
    //public static final int ACTION_DURATION = 60 * 2;
    public static final int ACTION_DURATION = 5;
}
